Hierarchical Automatons

This example visualizes the different options that TPT offers to model hierarchical automatons using time partition testlet variants or Testlet steps in step lists. Open the file Help|Examples|02 Test Modeling|05 Hierarchical Automatons and read the text in the text boxes displayed in the Content view first.

Using a time partition testlet variant

The TC1: hierarchy by sub-automatons test case is an example of an automaton modeled with time partition. It consists of two sub-testlets. The inner testlet 1 and the inner testlet 2. Both were graphically set up in the time partition testlet variant ramp bar & active sinus.

Time partition testlet and sub-testlets

The inner testlets are modeled with step list testlet variants ramp bar and active sinus. In each of the step list variants there is only a single action. In the ramp bar variant a Ramp step initiates the ramping of channel bar from 0 to 2.5 with gradient 0.5 for 5 s. After that the active sinus variant is also called for 5 s. This variant contains channel Active_sinus whose value is sin(t). Double-click the hierarchy by sub-automaton testlet in the Content view to display the lower level automaton. You can also access it from the Project view.

Using Testlet steps in step lists

The TC2: hierarchy by Testlet steps test case is an example of an automaton modeled with Testlet steps in a step list. First, a Testlet step calls the ramp bar variant into action and after 5 s the active sinus variant. Click (use Ctrl+Click) the step list variant in the Content view to display the Testlet steps in the step list. You can also access it from the Project view.

Testlet steps in a step list

Related topics